package com.tchhy.provider.data.healthy.response

import android.os.Parcelable
import kotlinx.android.parcel.Parcelize

data class MedicineUsagePlanDetailRes(
    val currentDays: Int,
    val medicationImage: String,
    val medicationName: String,
    val medicationUserId: Long,
    val medications: List<Medication>,
    val planEndTime: String,
    val planId: Long,
    val planStatus: Int,
    val plannedDays: Int,
    val startTime: String
)

@Parcelize
data class Medication(
    /**
     * 药品ID
     */
    val medicationId: String?,
    /**
     * 药品图片
     */
    val medicationImage: String?,
    /**
     * 药品名称
     */
    val medicationName: String?,
    /**
     * 用药提醒时间
     */
    val medicationTimeList: ArrayList<String>?,
    /**
     * 药品类型，1药厂药  2自储药
     */
    val medicationType: Int?,
    /**
     * 自储药品ID
     */
    val selfMedicationId: Long?,
    /**
     * 药品总数
     */
    val totalDrugCount: Int?,
    /**
     * 用药单位
     */
    var units: String?,
    /**
     * 每天用药次数
     */
    var usageDay: Int?,
    /**
     * 每次用药数量
     */
    var usageTimes: String?,

    /**
     * 药品主治症状
     */
    val indication: String? = ""
) : Parcelable